package com.atguigu.Spring5.pojo;

/**
 * @Author xiao hu die
 * @Date 2022/3/28 23:41
 * @Version 1.0
 */
public class Emp {
 private String name;
 private Integer num;
 private Dept dept;

 public Emp() {
  System.out.println("Emp的无参构造");
 }

 public String getName() {
  return name;
 }

 public void setName(String name) {
  this.name = name;
 }

 public Integer getNum() {
  return num;
 }

 public void setNum(Integer num) {
  this.num = num;
 }

 public Dept getDept() {
  return dept;
 }

 public void setDept(Dept dept) {
  this.dept = dept;
 }
}
